package com.qby.common.enums;

/**
 * @description: 短信类型
 * @author: qiu bo yang
 * @create: 2020-03-27 10:24
 */
public enum MessageType {
    REGISTER(1, "注册短信"),
    FORGET_PASSWORD(2, "忘记密码短信"),
    BINDING_PHONE(3, "绑定手机号");

    private final Integer code;
    private final String desc;

    MessageType(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
